package com.med.mapper;

import com.med.entity.CommentsDO;
import com.med.entity.UserDO;
import com.med.vo.CommentsVO;
import com.med.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MineMapper {
    //根据id查询个人信息
    UserDO queryUser(@Param("userVO") UserVO userVO);

    //个人中心修改
    Integer updateUser(@Param("userVO")UserVO userVO);

    //我的评论--根据用户id来查询对医生的评论
    List<CommentsDO> queryComments(@Param("commentsVO")CommentsVO commentsVO);

    //删除评论
    Integer updateComments(@Param("commentsVO")CommentsVO commentsVO);


}
